feat(mcp): add gittensory_find_opportunities tool to the hosted /mcp Worker - #2789
feat(mcp): add gittensory_find_opportunities tool to the hosted /mcp Worker#2789ai-mountain wants to merge 14 commits into
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (93.10%) is below the target coverage (99.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #2789 +/- ##
=======================================
Coverage 96.13% 96.14%
=======================================
Files 248 248
Lines 27572 27601 +29
Branches 10014 10025 +11
=======================================
+ Hits 26506 26536 +30
+ Misses 443 438 -5
- Partials 623 627 +4
🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-04 00:57:29 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 5 non-blocking
Why this is blocked
CI checks failing
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
…Worker Register gittensory_find_opportunities in the hosted MCP server composing the ranker from gittensory-engine into a single advisory, metadata-only, no-writes tool call. Accepts a repo target list or search query plus an optional MinerGoalSpec (lane, minRankScore, languages) and a result cap. For each target repo, reads cached open issues and open PRs, computes dupRisk from linked-issue claim overlap, freshness from issue age, and a composite rankScore via rankOpportunityScore. Returns a public-safe ranked array (owner, repo, issueNumber, title, rankScore, laneFit, freshness, dupRisk, aiPolicyAllowed) sorted by rankScore descending. Closes JSONbored#2308
9acc926 to
6ada8ce
Compare
|
Gittensory is closing this pull request on the maintainer's behalf (CI is failing (codecov/patch); AI reviewers agree on a likely critical defect: src/mcp/server.ts:2089 makes `targets` optional in the MCP input but `findOpportunities` immediately returns `validation_error` when no targets are provided, so `gittensory_find_opportunities` cannot perform the advertised cross-repo discovery/search flow unless the caller already knows every repo to query.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs are re-reviewed automatically, so an inaccurate close may be reopened, but that does not guarantee it can merge (e.g. if conflicts or failing CI remain). |
Closes #2308.